What is difference between static and global variable in C